package DT;

public class People {
    String name ;
    int age;
    public People(String name,int age)
    {
        this.name = name;
        this.age = age;
    }
    public void sleep()
    {
        System.out.println(name+"正在呼呼大睡....");
    }
    public void eat()
    {
        System.out.println(name+"正在吃大餐....");
    }
}
